package com.photography.wedding.dao;

import com.photography.wedding.pojo.Picture;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface PictureMapper {
    int deleteByPrimaryKey(String id);

    int insert(Picture record);

    int insertSelective(Picture record);

    Picture selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Picture record);

    int updateByPrimaryKey(Picture record);

    List<Picture> selectUserPicture(String userId);

    List<Picture> selectAdminPictureAll(String level);

    List<Picture> selectUserPictureModuleName(Picture record);

    int deleteUserPicture(Picture record);

    List<Picture> selectUserLevelModuleNamePicture(Picture record);

}